<html>
  <head></head>
  <body>
    <div id="game"></div>
    <script type="text/javascript" src="https://rawgithub.com/craftyjs/Crafty/release/dist/crafty-min.js"></script>
    <script>
	Crafty.init(400, 400);
	var helloWorldText = Crafty.e('2D, DOM, Text')
	  .attr({
		x: 10,
		y: 10
	  });

	  helloWorldText.textFont({
	  size: '20px',
	  weight: 'bold'
	});
	helloWorldText.text('HelloWorld');
	
    </script>
  </body>
</html>